package com.miniportal.base;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类
 *
 * @author Guo Shuai
 * @version 1.0
 * @date 2022-05-18
 */
@SpringBootApplication(scanBasePackages = {"com.miniportal.base.**"})
@MapperScan(basePackages = {"com.miniportal.base.mapper.**"})
public class Application {
    public static void main(String[] args) {
        try {
            SpringApplication.run(Application.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
